import os
from building import *

# The set of source files associated with this SConscript file.
src = Split("""
Platform/Tricore/Compilers/CompilerDcc.c
Platform/Tricore/Compilers/CompilerGhs.c
Platform/Tricore/Compilers/CompilerGnuc.c
Platform/Tricore/Compilers/CompilerTasking.c
Ssw/TC37A/Tricore/Ifx_Ssw_Infra.c
Ssw/TC37A/Tricore/Ifx_Ssw_Tc0.c
Ssw/TC37A/Tricore/Ifx_Ssw_Tc1.c
""")

# get current directory
cwd = GetCurrentDir()

path =  [cwd]
path += [cwd + '/Sfr/']
path += [cwd + '/Sfr/TC37A']
path += [cwd + '/Sfr/TC37A/_Reg']
path += [cwd + '/Platform']
path += [cwd + '/Platform/Tricore']
path += [cwd + '/Platform/Tricore/Compilers']
path += [cwd + '/Ssw']
path += [cwd + '/Ssw/TC37A']
path += [cwd + '/Ssw/TC37A/Tricore']

group = DefineGroup('Infra', src, depend = [''], CPPPATH = path)

Return('group')
